package com.atguigu.gulimall.auth.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 调用第三方服务
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartyFeignService {

    //验证码
    @GetMapping("/smsService/sendsms/send/{phone}")
    R phoneCode(@PathVariable String phone);

}
